/*
 * Module:	String operation library
 * Author:	Lvjianfeng
 * Date:	2011.9
 */

#ifndef _LIB_STRING_H_
#define _LIB_STRING_H_


#include "global.h"


//Function declaration

void Lib_Memcpy
(
    uint8 *u8p_Target,
    const uint8 *u8p_Source,
    uint ui_Length
);
void Lib_Memset
(
    uint8 *u8p_Data,
    uint8 u8_Value,
    uint ui_Length
);
uint Lib_Memcmp
(
    const uint8 *u8p_Target,
    const uint8 *u8p_Source,
    uint ui_Length
);
uint Lib_Memcmpv
(
    const uint8 *u8p_Target,
    uint8 u8_Value,
    uint ui_Length
);
uint LibStr_StringToNumber
(
	const uint8 *u8p_String,
	uint ui_Length,
	uint16 *u16p_Number
);
uint LibStr_NumberToString
(
	uint8 *u8p_String,
	uint *uip_Length,
	uint16 u16_Number
);

#endif
